﻿using System.ComponentModel;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;

namespace Devonline.Identity.Admin.Controllers;

[ApiController]
[Route("api/[controller]")]
[Description("级别管理")]
[Authorize(Roles = GROUP_MAINTAINERS)]
[AccessAuthorize(Code = "AS0XLevel", Name = "级别管理", ResourceType = ResourceType.Service, Roles = GROUP_MAINTAINERS)]
public class LevelsController(ILogger<LevelsController> logger, IDataWithAttachmentService<Level> dataService) : IdentityDataServiceController<Level>(logger, dataService);